package com.scau.database.entity.storemanager;

import lombok.Data;

import java.math.BigDecimal;

@Data
public class EnterVO {
    private Long order_number;
    private Integer index;
    private String factory;
    private String bar_code;
    private String brand;
    private String name;
    private BigDecimal unit_price;
    private Integer count;
    private Integer finishiedEnterWare; // 还有多少未进库
    private Integer maxEnter; // 此次最多进库数量

    public Integer getMaxEnter() {
        return maxEnter;
    }

    public void setMaxEnter(Integer maxEnter) {
        this.maxEnter = maxEnter;
    }

    public Integer getFinishiedEnterWare() {
        return finishiedEnterWare;
    }

    public void setFinishiedEnterWare(Integer finishiedEnterWare) {
        this.finishiedEnterWare = finishiedEnterWare;
    }

    public Long getOrder_number() {
        return order_number;
    }

    public void setOrder_number(Long order_number) {
        this.order_number = order_number;
    }

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }

    public String getFactory() {
        return factory;
    }

    public void setFactory(String factory) {
        this.factory = factory;
    }

    public String getBar_code() {
        return bar_code;
    }

    public void setBar_code(String bar_code) {
        this.bar_code = bar_code;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getUnit_price() {
        return unit_price;
    }

    public void setUnit_price(BigDecimal unit_price) {
        this.unit_price = unit_price;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    @Override
    public String toString() {
        return "EnterVO{" +
                "order_number='" + order_number + '\'' +
                ", index=" + index +
                ", factory='" + factory + '\'' +
                ", bar_code='" + bar_code + '\'' +
                ", brand='" + brand + '\'' +
                ", name='" + name + '\'' +
                ", unit_price=" + unit_price +
                ", count=" + count +
                '}';
    }
}
